package com.bestcem.xm.ticket.service.manager.record.param;

import com.bestcem.xm.ticket.enums.FollowerFilterEnum;
import com.bestcem.xm.ticket.enums.TicketEventEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 转派工单记录参数
 *
 * @author liheng
 * @author XiaoYunSong <ys.xiao@idiaoyan.com> 新增组织转派相关参数
 * @version v1.0
 * @date 2021/9/9 14:25
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TransferTicketRecordParam extends BaseTicketRecordParam {

    /**
     * 转派类型; 0:组织转派 | 1:用户转派
     *
     * @see FollowerFilterEnum
     */
    private Integer followFilter;

    /**
     * 接受工单的用户id
     */
    private String receiveUserId;
    /**
     * 接受工单的用户姓名
     */
    private String receiveUsername;
    /**
     * 接受工单的角色id
     */
    private String receiveRoleId;
    /**
     * 接受工单的角色名
     */
    private String receiveRoleName;
    /**
     * 接受工单的组织id
     */
    private String receiveGroupId;
    /**
     * 接受工单的组织名
     */
    private String receiveGroupName;
    /**
     * 接受工单的层级id
     */
    private String receiveGroupLevelId;
    /**
     * 接受工单的层级名
     */
    private String receiveGroupLevelName;


    @Override
    public TicketEventEnum getEvent() {
        return TicketEventEnum.TRANSFER;
    }
}
